package io.renren.modules.newBackground.shanghaiCmcc.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "上海移动退订请求")
public class ShangHaiCmccUnsubscribeReq implements Serializable {
    private static final long serialVersionUID = -6465402599761339570L;


    @JSONField(name = "Request")
    private Request request;

    @Data
    public static class Request {
        @JSONField(name = "BusiCode")
        private String busiCode = "PT-SH-FS-OI5956";

        @JSONField(name = "BusiParams")
        private BusiParams busiParams;
    }

    @Data
    public static class BusiParams {
        @JSONField(name = "billId")
        private String billId;

        @JSONField(name = "orderTime")
        //yyyyMMddHHmm
        private String orderTime;

        @JSONField(name = "offerId")
        private String offerId;
    }

    @JSONField(name = "PubInfo")
    private OrderPubInfo pubInfo;
}
